/*
 * lsit_client.h -- definition and declarations of client lst
 */
 
#ifndef _LIST_CLIENT_H
#define _LIST_CLIENT_H

/*
 * listt_client.h -- definition and declarations of client lst
 */
#include <stdlib.h>
#include <stdio.h>
#include "client.h"


/* queue_element_t */
typedef struct list_element{
    client_t *client;
    struct list_element *next;
} list_element_t;

/* queue_t */
typedef struct {
  list_element_t *first;
} list_client_t;

list_client_t* create_list_client();
void delete_list_client(list_client_t *lst);
int is_empty_list_client(list_client_t *lst);
void insert_list_client(list_client_t *lst, client_t *client);
void remove_list_client(list_client_t *lst, int client_id);
client_t* get_list_client(list_client_t *lst, int client_id);

#endif

